package com.zsy.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.zsy.bean.Bis_Nurse_Type;
import com.zsy.mapper.Bis_Nurse_TypeMapper;

@Service
@Transactional
public class Bis_Nurse_TypeServiceImpl implements Bis_Nurse_TypeService {
	
	@Autowired
	private Bis_Nurse_TypeMapper  bis_Nurse_TypeMapper;

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public List<Bis_Nurse_Type> listAll(Map map) {
		return bis_Nurse_TypeMapper.listAll(map);
	}

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public Bis_Nurse_Type getByTid(String type_id) {
		return bis_Nurse_TypeMapper.getByTid(type_id);
	}

}
